package com.billing.model.entity;

import java.text.SimpleDateFormat;

public class CrmContact {
    private Integer id;

    private Integer custId;

    private String custName;
    
    private Integer custType;
    
    private String lkmId;

    private String lkmName;

    private Integer lkmSex;

    private String lkmPostion;

    private String lkmTel;

    private String lkmPhone;

    private Long cttDate;
    
    private String cttDateString;//前端展示用

    private String cttPlace;

    private String cttTitle;

    private String cttDesc;

    private Integer userId;

    private String userName;
    SimpleDateFormat mdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
    
    public Integer getCustType() {
		return custType;
	}

	public void setCustType(Integer custType) {
		this.custType = custType;
	}

	public String getLkmId() {
		return lkmId;
	}

	public void setLkmId(String lkmId) {
		this.lkmId = lkmId;
	}

	public String getCttDateString() {
		return cttDateString;
	}

	public void setCttDateString(String cttDateString) {
		this.cttDateString = cttDateString;
	}

	public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCustId() {
        return custId;
    }

    public void setCustId(Integer custId) {
        this.custId = custId;
    }

    public String getCustName() {
        return custName;
    }

    public void setCustName(String custName) {
        this.custName = custName == null ? null : custName.trim();
    }

    public String getLkmName() {
        return lkmName;
    }

    public void setLkmName(String lkmName) {
        this.lkmName = lkmName == null ? null : lkmName.trim();
    }

    public Integer getLkmSex() {
        return lkmSex;
    }

    public void setLkmSex(Integer lkmSex) {
        this.lkmSex = lkmSex;
    }

    public String getLkmPostion() {
        return lkmPostion;
    }

    public void setLkmPostion(String lkmPostion) {
        this.lkmPostion = lkmPostion == null ? null : lkmPostion.trim();
    }

    public String getLkmTel() {
        return lkmTel;
    }

    public void setLkmTel(String lkmTel) {
        this.lkmTel = lkmTel == null ? null : lkmTel.trim();
    }

    public String getLkmPhone() {
        return lkmPhone;
    }

    public void setLkmPhone(String lkmPhone) {
        this.lkmPhone = lkmPhone == null ? null : lkmPhone.trim();
    }

    public Long getCttDate() {
        return cttDate;
    }

    public void setCttDate(Long cttDate) {
        this.cttDate = cttDate;
        this.cttDateString = mdf.format(cttDate);
    }

    public String getCttPlace() {
        return cttPlace;
    }

    public void setCttPlace(String cttPlace) {
        this.cttPlace = cttPlace == null ? null : cttPlace.trim();
    }

    public String getCttTitle() {
        return cttTitle;
    }

    public void setCttTitle(String cttTitle) {
        this.cttTitle = cttTitle == null ? null : cttTitle.trim();
    }

    public String getCttDesc() {
        return cttDesc;
    }

    public void setCttDesc(String cttDesc) {
        this.cttDesc = cttDesc == null ? null : cttDesc.trim();
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }
}